Computer Configuration > Administrative Templates > Firefox
Both
HKLM\Software\Policies\Mozilla\Firefox\HttpAllowlist
If this policy is enabled, you can specify a list of origins that will not be upgraded to HTTPS. If this policy is disabled or not configured, all origins are upgraded to HTTPS if HTTPS-Only Mode is enabled.